package com.nbgroup.service;

import com.nbgroup.pojo.Dept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nbgroup.pojo.common.Children;
import com.nbgroup.pojo.dto.DeptDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-10-29
 */
public interface IDeptService extends IService<Dept> {

    List<Dept> listQueryDept();

    void add(DeptDto dto);

    /**
     * 树查询
     * @return
     */
    List<Children> queryTree(Integer start);
}
